|
enocean5 2.2.0
|
EnOcean 5 Click example. More...
Macros | |
| #define | DEMO_TEXT_MESSAGE_1 "MIKROE" |
| #define | DEMO_TEXT_MESSAGE_2 "EnOcean 5" |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
EnOcean 5 Click example.
This example demonstrates radio communication betweeen two EnOcean 5 Click boards. The application performs a module reset, retrieves and logs device information, sends text-based radio telegrams, and waits for received ERP1 messages.
The demo application is composed of two sections :
Initializes the logger and EnOcean 5 Click driver. Performs a hardware reset and reads module information including APP version, API version, and device identifiers.
Sends "MIKROE" and "EnOcean 5" telegrams, waits for TX_DONE events, and listens for incoming ERP1 VLD telegrams, logging their content.
| #define DEMO_TEXT_MESSAGE_1 "MIKROE" |
| #define DEMO_TEXT_MESSAGE_2 "EnOcean 5" |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |